import numpy as np
import pandas as pd

if __name__ == '__main__':
    df = pd.read_excel("resources/字段映射0217.xlsx", index_col='IMIX2.0域号')
    interrupt_indicator = True
    while interrupt_indicator:
        user_input = input("请输入IMIX2.0域号: ")  # 提示用户输入
        print("查询结果是: ")
        print(df.loc[int(user_input),['IMIX2.0域名','数据项','数据项英文名称','数据项中文名称']])